package com.example.demo.service;

import com.example.demo.dao.GradesDao;
import com.example.demo.model.Grades;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GradesServiceImpl implements GradesService {
    @Resource
    GradesDao gradesDao;


    @Override
    public List<Grades> findGrades(String Phone) {
        return gradesDao.findGradesByPhone(Phone);
    }
}
